3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
A custom object may include these methods for file access:
#define kQ3XMethodTypeObjectTraverse Q3_METHOD_TYPE('t','r','v','s')
#define kQ3XMethodTypeObjectTraverseData Q3_METHOD_TYPE('t','r','v','d')
#define kQ3XMethodTypeObjectWrite Q3_METHOD_TYPE('w','r','i','t')
#define kQ3XMethodTypeObjectReadData Q3_METHOD_TYPE('r','d','d','t')
#define kQ3XMethodTypeObjectRead Q3_METHOD_TYPE('r','e','a','d')
#define kQ3XMethodTypeObjectAttach Q3_METHOD_TYPE('a','t','t','c')
The operation of some of these methods is discussed in the chapter "File Objects" under the headings shown:
The Q3XMethodTypeObjectAttach method is described below.
The TQ3XObjectAttachMethod function, which is returned by the kQ3XMethodTypeObjectAttach method, attaches a child object to a parent object for traversal and other I/O operations.
#define kQ3XMethodTypeObjectAttach Q3_METHOD_TYPE('a','t','t','c')
typedef TQ3Status (*TQ3XObjectAttachMethod)(
TQ3Object childObject,
TQ3Object parentObject);
Previous | QD3D Book | Overview | Chapter Contents | Next |